package example09;

public class program {

	public static void main(String[] args) {
	Rectangle rect =new Rectangle();
	Triangle trgl =new Triangle();
	rect.setValues(4, 5);
	trgl.setValues(4, 5);
	System.out.println("rect a:{0}"+rect.area());
	System.out.println("trgl b:{0}"+trgl.area());
	
	
	

	}

}
